import request from '@/utils/request'


//列表
export function listData(data) {
  return request({
    url: '/client-product-users/' + data.id + '/list' + '?pageSize=' + data.pageSize + '&pageNum=' + data.pageNum,
    method: 'get'
    // params: id
  })
}

//新增
export function addClient(data) {
  return request({
    url: '/client-product-users',
    method: 'post',
    data: data
  })
}

//修改
export function updateClient(data) {
  return request({
    url: '/client-product-users',
    method: 'put',
    data: data
  })
}
